﻿<UserControl x:Class="Wolter.Stereoscopy.ImageSample.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:effects="clr-namespace:Wolter.Stereoscopy.Effects;assembly=Wolter.Stereoscopy.Effects"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">

    <Grid x:Name="LayoutRoot" Background="White">
        <Image x:Name="leftImage" Source="Assets/20090920235337_l.jpg" ImageFailed="leftImage_ImageFailed">
            <Image.Effect>
                <effects:MonochromeChannelsEffect RedRatio="1" GreenRatio="0" BlueRatio="0" AlphaRatio="1" />
            </Image.Effect>
        </Image>
        <Image x:Name="rightImage" Source="Assets/20090920235337_r.jpg" ImageFailed="rightImage_ImageFailed">
            <Image.Effect>
                <effects:MonochromeChannelsEffect RedRatio="0" GreenRatio="1" BlueRatio="1" AlphaRatio="0" />
            </Image.Effect>
        </Image>
    </Grid>
    
</UserControl>
